package com.chengh.nami.system.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 用户角色关联表实体类
 *
 * @author chengh
 */
@Getter
@Setter
@ToString(callSuper = true)
@TableName("sys_user_role")
@Schema(name = "SysUserRole对象", description = "用户角色中间表")
public class SysUserRole {

    @Schema(name = "id", description = "ID")
    private Long id;

    @Schema(name = "userId", description = "用户ID")
    private Long userId;

    @Schema(name = "roleId", description = "角色ID")
    private Long roleId;
}
